<?PHP
class Comentario
{
    private $idComentario = NULL;
    private $conteudo = NULL;
    private $data = NULL;
    private $idPostagem = NULL;
    private $idUsuario = NULL;
    private $isAtivo = NULL;


    /*************************************************************************
    * Name: __construct
    * Description: Construtor da Classe. Inicializar os Atributos.
    * Parameters:
    * Returns: Nenhum
    * Author: Felipe O. Simões
    * Last Modified: 07/04/2012 - Felipe O. Simões
    *************************************************************************/
    public function __construct($idComentario, $conteudo, $data, $idPostagem, $idUsuario, $isAtivo)
    {
            $this->idComentario = $idComentario;
            $this->conteudo = $conteudo;
            $this->data = $data;
            $this->idPostagem = $idPostagem;
            $this->idUsuario = $idUsuario;
            $this->isAtivo = $isAtivo;
    }


    /*************************************************************************
    * Name: 
    * Description: 
    * Parameters:
    * Returns: Nenhum
    * Author: Felipe O. Simões
    * Last Modified: 07/04/2012 - Felipe O. Simões
    *************************************************************************/
     public function getIdComentario() {
         return $this->idComentario;
     }

     
     /*************************************************************************
    * Name: 
    * Description: 
    * Parameters:
    * Returns: Nenhum
    * Author: Felipe O. Simões
    * Last Modified: 07/04/2012 - Felipe O. Simões
    *************************************************************************/
     public function setIdComentario($idComentario) {
         $this->idComentario = $idComentario;
     }

     
     /*************************************************************************
    * Name: 
    * Description: 
    * Parameters:
    * Returns: Nenhum
    * Author: Felipe O. Simões
    * Last Modified: 07/04/2012 - Felipe O. Simões
    *************************************************************************/
     public function getConteudo() {
         return $this->conteudo;
     }

     
     /*************************************************************************
    * Name: 
    * Description: 
    * Parameters:
    * Returns: Nenhum
    * Author: Felipe O. Simões
    * Last Modified: 07/04/2012 - Felipe O. Simões
    *************************************************************************/
     public function setConteudo($conteudo) {
         $this->conteudo = $conteudo;
     }

     
     /*************************************************************************
    * Name: 
    * Description: 
    * Parameters:
    * Returns: Nenhum
    * Author: Felipe O. Simões
    * Last Modified: 07/04/2012 - Felipe O. Simões
    *************************************************************************/
     public function getData() {
         return $this->data;
     }

     
     /*************************************************************************
    * Name: 
    * Description: 
    * Parameters:
    * Returns: Nenhum
    * Author: Felipe O. Simões
    * Last Modified: 07/04/2012 - Felipe O. Simões
    *************************************************************************/
     public function setData($data) {
         $this->data = $data;
     }

     
     /*************************************************************************
    * Name: 
    * Description: 
    * Parameters:
    * Returns: Nenhum
    * Author: Felipe O. Simões
    * Last Modified: 07/04/2012 - Felipe O. Simões
    *************************************************************************/
     public function getIdPostagem() {
         return $this->idPostagem;
     }

     
     /*************************************************************************
    * Name: 
    * Description: 
    * Parameters:
    * Returns: Nenhum
    * Author: Felipe O. Simões
    * Last Modified: 07/04/2012 - Felipe O. Simões
    *************************************************************************/
     public function setIdPostagem($idPostagem) {
         $this->idPostagem = $idPostagem;
     }

     
     /*************************************************************************
    * Name: 
    * Description: 
    * Parameters:
    * Returns: Nenhum
    * Author: Felipe O. Simões
    * Last Modified: 07/04/2012 - Felipe O. Simões
    *************************************************************************/
     public function getIdUsuario() {
         return $this->idUsuario;
     }

     
     /*************************************************************************
    * Name: 
    * Description: 
    * Parameters:
    * Returns: Nenhum
    * Author: Felipe O. Simões
    * Last Modified: 07/04/2012 - Felipe O. Simões
    *************************************************************************/
     public function setIdUsuario($idUsuario) {
         $this->idUsuario = $idUsuario;
     }

     
     /*************************************************************************
    * Name: 
    * Description: 
    * Parameters:
    * Returns: Nenhum
    * Author: Felipe O. Simões
    * Last Modified: 07/04/2012 - Felipe O. Simões
    *************************************************************************/
     public function getIsAtivo() {
         return $this->isAtivo;
     }

     
     /*************************************************************************
    * Name: 
    * Description: 
    * Parameters:
    * Returns: Nenhum
    * Author: Felipe O. Simões
    * Last Modified: 07/04/2012 - Felipe O. Simões
    *************************************************************************/
     public function setIsAtivo($isAtivo) {
         $this->isAtivo = $isAtivo;
     }
     
    }
?>